package com.study.demo.aop.anno;

import java.text.MessageFormat;

/**
 * @author: elvin
 * @time: 2019-08-05 15:42
 * @desc:
 **/
public class Calculator {

    public int divide(int a, int b) {
        System.out.println(MessageFormat.format("执行目标方法: Calculator.divide({0}, {1})", a, b));
        return a / b;
    }

    /*public int sum(int a, int b) {
        System.out.println(MessageFormat.format("执行目标方法: Calculator.sum({0}, {1})", a, b));
        return a + b;
    }*/
}
